package com.yxw.yxnet_cd_center.customer_service.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 渠道d端口实体
 * @author liuxin
 * @date 2023.09.17
 */
@Data
@TableName("yx_cs_port")
@ApiModel("渠道端口实体")
public class YxCsPortEntity implements Serializable {

    private static final long serialVersionUID = 91694940569743L;

    @TableId(value = "port_id",type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "端口ID")
    private Long id;

    @ApiModelProperty(value = "端口名称")
    private String portName;

    @ApiModelProperty(value = "端口编号")
    private String portCode;

    @ApiModelProperty(value = "更新人")
    private Long updateUserId;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

}